package wyx.practice.springboot.dubbo.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;
import wyx.practice.springboot.dubbo.DemoService;

/**
 * 神兽护佑,bug退散
 *
 * @author wuyuxiao created on 2018-3-8
 */
@Service(interfaceClass = DemoService.class)
@Component
public class DemoServiceImpl implements DemoService {

    @Override
    public String sayHello(String name) {
        return "hello "+name+" ,dubbo run success";
    }

}
